#include "window.h"

Window::Window() {
    SDL_Init(SDL_INIT_VIDEO);
    Font::Init();
    window_ = SDL_CreateWindow("Graphics", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, Width, Height, SDL_WINDOW_SHOWN);
}

Window::~Window() {
    SDL_DestroyWindow(window_);
    Font::Shutdown();
    SDL_Quit();
}


SDL_Window* Window::GetWindow() const {
    return window_;
}

int Window::GetWidth() const {
    return Width;
}

int Window::GetHeight() const {
    return Height;
}

